package TUILayer;
import java.util.Scanner;


/**
 * Write a description of class Reader here.
 * 
* @author Team Black
 * @version (a version number or a date)
 */
public class Reader
{
    // instance variables - replace the example below with your own
    /**
     * Constructor for objects of class Reader
     */
    public Reader()
    {

    }
    /**
       * // makes an object keyboard to have input from the screen
         */
    public String inputName()
    {
         Scanner keyboard = new Scanner(System.in);  
         System.out.println("Indtast navn:  ");
         String name = keyboard.nextLine();
         return name;
    }
    public String inputPostalCode()
    {
         Scanner keyboard = new Scanner(System.in);  
         System.out.println("Indtast Post Nummer:  ");
         String zipCode = keyboard.nextLine();
         return zipCode;
    }
    public String inputCity()
    {
         Scanner keyboard = new Scanner(System.in);  
         System.out.println(" Indtast by navn:  ");
         String city = keyboard.nextLine();
         return city;
    } 
    public String inputPhone()
    {
         Scanner keyboard = new Scanner(System.in);  
         System.out.println(" Indtast telefon nummer:  ");
         String phone = keyboard.nextLine();
         return phone;
    }  
    public String inputAddress()
    {
        Scanner keyboard = new Scanner(System.in);
        System.out.println(" Indtast adresse: ");
        String address = keyboard.nextLine();
        return address;
    }
    public int inputId()
    {
       Scanner keyboard = new Scanner(System.in);
       System.out.println(" Indtast ID nummer: ");
       int id = keyboard.nextInt();
       return id;
    }
    public int inputDiscount()
    {
       Scanner keyboard = new Scanner(System.in);
       System.out.println(" Indtast antal % rabat: ");
       int discount = keyboard.nextInt();
       return discount;        
    }
    public String inputSalaryAccount()
    {
        Scanner keyboard = new Scanner(System.in);
        System.out.println(" Indtast lønkonto: ");
        String SalaryAccount = keyboard.nextLine();
        return SalaryAccount;
    }
    public int inputProductId()
    {
       Scanner keyboard = new Scanner(System.in);
       System.out.println(" Indtast vare ID: ");
       int ProductID = keyboard.nextInt();
       return ProductID;  
    }
    public String inputProductDecription()
    {
       Scanner keyboard = new Scanner(System.in);
       System.out.println(" Indtast vare beskrivelse: ");
       String Decription = keyboard.nextLine();
       return Decription;  
    }
    public double inputProductPurchasePrice()
    {
       Scanner keyboard = new Scanner(System.in);
       System.out.println(" Indtast Indkøbsprisen: ");
       double PurchasePrice = keyboard.nextDouble();
       return PurchasePrice;
    }
    public double inputProductPrice()
    {
       Scanner keyboard = new Scanner(System.in);
       System.out.println(" Indtast prisen for varen: ");
       double ProductPrice = keyboard.nextDouble();
       return ProductPrice;   
        
    }
    public String inputProductName()
    {
       Scanner keyboard = new Scanner(System.in);
       System.out.println(" Indtast navnet på varen: ");
       String ProductName = keyboard.nextLine();
       return ProductName; 
    }
    public int inputPartOrdreNr()
    {
       Scanner keyboard = new Scanner(System.in);
       System.out.println(" Indtast delordre nummeret: ");
       int id = keyboard.nextInt();
       return id; 
    }
}
